<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-13 20:01:01
  from "E:\PHP\APMServ5.2.6\www\htdocs\sql\wengdo_smarty\wengdo\cms\templates\user_list.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_56963c7d3ad944_29286797',
  'file_dependency' => 
  array (
    'a4b5a201add0e905c5028e102583a8ec3a8c438f' => 
    array (
      0 => 'E:\\PHP\\APMServ5.2.6\\www\\htdocs\\sql\\wengdo_smarty\\wengdo\\cms\\templates\\user_list.tpl',
      1 => 1452599608,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:sidebar.tpl' => 1,
  ),
),false)) {
function content_56963c7d3ad944_29286797 ($_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<!-- Start: Main -->
<div id="main">
    <?php $_smarty_tpl->_subTemplateRender("file:sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <!-- Start: Content -->
    <section id="content">
        <div id="topbar" class="affix">
            <ol class="breadcrumb">
                <li><a href="index.php"><span class="glyphicon glyphicon-home"></span></a></li>
                <li class="active">用户管理</li>
            </ol>
        </div>
        <div class="container">

            <div class="row">
                <div class="col-md-12">
                    <div class="panel">
                        <div class="panel-heading">
                            <div class="panel-title">用户列表</div>
                        </div>
                        <form action="user_list.php?act=delall&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
&pagecount=<?php echo $_smarty_tpl->tpl_vars['pagecount']->value;?>
&pagesize=<?php echo $_smarty_tpl->tpl_vars['pagesize']->value;?>
" method="post">
                            <div class="panel-body">
                                <table class="table table-striped table-bordered table-hover dataTable">
                                    <tr class="active">
                                        <th class="text-center" width="100"><input type="checkbox" value="" id="checkall" class=""> 全选
                                        </th>
                                        <th>ID</th>
                                        <th>用户名</th>
                                        <th>真实姓名</th>
                                        <th>性别</th>
                                        <th>生日</th>
                                        <th>手机号</th>
                                        <th>Email</th>
                                        <th>地址</th>
                                        <th width="200">操作</th>
                                    </tr>
                                    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['user']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_0_saved = $_smarty_tpl->tpl_vars['item'];
?>
                                    <tr class="success">
                                        <td class="text-center"><input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['userid'];?>
" name="idarr[]" class="cbox"></td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['userid'];?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['username'];?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['realname'];?>
</td>
                                        <td><?php if ($_smarty_tpl->tpl_vars['item']->value['sex'] == 1) {?>男<?php } else { ?>女<?php }?></td>
                                        <td><?php echo date("Y-m-d H:i:s",$_smarty_tpl->tpl_vars['item']->value['birthday']);?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['mobile'];?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['email'];?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['address'];?>
</td>
                                        <td>
                                            <div class="btn-group">
                                                <a href="user_edit.php?userid=<?php echo $_smarty_tpl->tpl_vars['item']->value['userid'];?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
" class="btn btn-default btn-gradient"><span class="glyphicons glyphicon-pencil"></span></a>
                                                <a onclick="return confirm('确定要删除吗？');" href="user_list.php?act=del&deleteid=<?php echo $_smarty_tpl->tpl_vars['item']->value['userid'];?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
&pagecount=<?php echo $_smarty_tpl->tpl_vars['pagecount']->value;?>
&pagesize=<?php echo $_smarty_tpl->tpl_vars['pagesize']->value;?>
" class="btn btn-default btn-gradient dropdown-toggle"><span class="glyphicons glyphicon-trash"></span></a>
                                            </div>
                                        </td>
                                    </tr>
                                    <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
                                </table>

                                <div class="pull-left">
                                    <button type="submit" class="btn btn-default btn-gradient pull-right delall"><span
                                                class="glyphicons glyphicon-trash"></span></button>
                                </div>

                                <div class="pull-right">
                                    <?php echo $_smarty_tpl->tpl_vars['page_links']->value;?>

                                </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- End: Content -->
</div>
<!-- End: Main -->
</body>
</html><?php }
}
